package com.fts.fts.fitness_tracking_system.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;
import org.springframework.data.relational.core.mapping.Table;

import java.io.Serializable;


@Table(value = "video_segment")
@Data
public class VideoSegment implements Serializable {
    @TableField(exist = false)
    private static final long serialVersionUID = 1L;


    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;


    @TableField(exist = false)
    private Video video;

    @TableField(value = "segment_name")
    private String segmentName;

    @TableField(value = "start_time")
    private Double startTime;

    @TableField(value = "end_time")
    private Double endTime;

    @TableField(value = "sort_order")
    private Integer sortOrder;

    @TableField(value = "thumbnail")
    private String thumbnail;
}
